package com.beifu.manager.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.beifu.manager.model.AssetInTruth;
import com.beifu.manager.model.AssetInTruthExample;

public interface AssetInTruthMapper {
    int countByExample(AssetInTruthExample example);

    int deleteByExample(AssetInTruthExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AssetInTruth record);

    int insertSelective(AssetInTruth record);

    List<AssetInTruth> selectByExample(AssetInTruthExample example);

    AssetInTruth selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AssetInTruth record, @Param("example") AssetInTruthExample example);

    int updateByExample(@Param("record") AssetInTruth record, @Param("example") AssetInTruthExample example);

    int updateByPrimaryKeySelective(AssetInTruth record);

    int updateByPrimaryKey(AssetInTruth record);

	List<AssetInTruth> getAssetInTruthPage(@Param("start") int start, @Param("pageNum") int pageNum,  @Param("example")AssetInTruthExample example);
	
	Integer selectCountByAssetIdType(Map paramMap);
	/**
	 * 批量插入assetInTruth
	 * @param assetInTruthList
	 */
	void insertBatch(List<AssetInTruth> assetInTruthList);
}